﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Young3.FMSearch.Core.Offsets
{
    public sealed class PlayerOffsets
    {

        public const short InjuryFromAddress = 4;
        public const short BanFromAddress = 12;
        public const short PreferedMoves = 0x90;
        public const short SkillsAddress = 0x98;
        public const short InjuryAddress = 160;
        public const short Value = 0xc4;
        public const short AskValue = 200;
        public const short Condition = 0xf4;
        public const short Fitness = 0xf6;
        public const short Jadeness = 0xf8;
        public const short HomeReputation = 250;
        public const short CurrentReputation = 0xfc;
        public const short WorldReputation = 0xfe;
        public const short Ca = 0x100;
        public const short Pa = 0x102;
        public const short Weight = 260;
        public const short Height = 0x106;
        public const short Morale = 0x10c;
        public const short AddressUsedInGame = 0x114;
        public const short Id = 0x128;
        public const short ContractId = 300;
        public const short RecentPlan = 0x130;
        public const short DateOfBirth = 0x14c;
        public const short FirstName = 0x164;
        public const short LastName = 360;
        public const short Nickname = 0x16c;
        public const short CityOfBirth = 0x174;
        public const short Nationality = 0x178;
        public const short PersonalityAddress = 380;
        public const short RelationsAddress = 0x180;
        public const short Ethnicity = 0x184;
        public const short HairColour = 0x185;
        public const short SkinColour = 390;
        public const short Clausules = 0x1a8;
        public const short DateJoinedCountry = 0x1c8;
        public const short DateJoinedClub = 0x1d0;
        public const short TeamAddress = 500;
        public const short InternationalCaps = 0x204;
        public const short U21InternationalCaps = 0x205;
        public const short InternationalGoals = 0x206;
        public const short U21InternationalGoals = 0x207;
        public const short PlayerLength = 540;
        public const long ContractStartsBy = 0x12910b8;
        public const long LoanContractStartsBy = 0x15394f8;
        public const short PlayerNumber = 0x180;
        public const short FutureContractAddress = 0x198;
        public const short DeclaredForNation = 270;


        public const short ContractAddress = 0x1a8;
        public const short ContractAddressSecond = 0x1a8 + 0x8;
        public const short ContractNumber = 0x1a8 + 0x4;
    }
}
